<!DOCTYPE html>
<!-- saved from url=(0055)http://www.runoob.com/angularjs/angularjs-tutorial.html -->
<html xmlns="http://www.w3.org/1999/xhtml" ng-app="wsscat">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

		<meta property="qc:admins" content="465267610762567726375">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>AngularJS 教程 | 菜鸟教程</title>

		<link rel="dns-prefetch" href="http://s.w.org/">
		<link rel="canonical" href="http://www.runoob.com/angularjs/angularjs-tutorial.html">
		<meta name="keywords" content="AngularJS 教程,Angular,AngularJS">
		<meta name="description" content="AngularJS 教程     AngularJS 通过新的属性和表达式扩展了 HTML。 	AngularJS 可以构建一个单一页面应用程序（SPAs：Single Page Applications）。 	AngularJS 学习起来非常简单。 	现在开始学习 AngularJS！    每个章节都有相应的实例 在每个章节中，您可以在线编辑实例，然后点击按钮查看结果。  AngularJS 实例  &amp;lt;!DOCTYPE..">

		<link rel="shortcut icon" href="http://www.runoob.com/favicon.ico" mce_href="http://www.runoob.com/favicon.ico" type="image/x-icon">
		<link rel="stylesheet" href="./AngularJS 教程 _ 菜鸟教程_files/style.css" type="text/css" media="all">
		<link rel="stylesheet" href="./AngularJS 教程 _ 菜鸟教程_files/font-awesome.min.css" media="all">
		<script src="./AngularJS 教程 _ 菜鸟教程_files/ca-pub-5751451760833794.js.下载"></script>
		<script src="./AngularJS 教程 _ 菜鸟教程_files/push.js.下载"></script>
		<script src="./AngularJS 教程 _ 菜鸟教程_files/hm.js.下载"></script>
		<script src="./AngularJS 教程 _ 菜鸟教程_files/jquery.min.js.下载"></script>
		<script src="js/angular.js"></script>
		<script src="js/angular-route.js"></script>
		<script src="base.js"></script>
		<script async="" src="./AngularJS 教程 _ 菜鸟教程_files/adsbygoogle.js.下载"></script>
		<script async="" src="./AngularJS 教程 _ 菜鸟教程_files/adsbygoogle.js.下载"></script>
		<!--[if lt IE 9]>
     <script src="http://cdn.static.runoob.com/libs/html5shiv/3.7/html5shiv.min.js"></script>
  <![endif]-->
		<link rel="apple-touch-icon" href="http://static.runoob.com/images/icon/mobile-icon.png">
		<meta name="apple-mobile-web-app-title" content="菜鸟教程">
		<link rel="stylesheet" type="text/css" href="./AngularJS 教程 _ 菜鸟教程_files/prettify.css">
	</head>

	<body ng-controller="indexCtrl">
		<!--分治-->
		<xnav></xnav>
		<!--  头部 -->
		<xheader></xheader>
		<!-- 导航栏 -->
		<!-- 导航栏 -->
		<!--<xnav></xnav>-->
		<!--  内容  -->
		<!--<xcontent></xcontent>-->
		<!--<div xcontent></div>-->
		<xcontent></xcontent>
		<!-- 底部 -->

		<xfooter></xfooter>
		<fixedbtn></fixedbtn>
		<div style="display:none;">
			<script src="./AngularJS 教程 _ 菜鸟教程_files/stat.php" language="JavaScript"></script>
			<script src="./AngularJS 教程 _ 菜鸟教程_files/core.php" charset="utf-8" type="text/javascript"></script>
			<a href="http://www.cnzz.com/stat/website.php?web_id=5578006" target="_blank" title="站长统计">站长统计</a>
			<script>
				var _hmt = _hmt || [];
				(function() {
					var hm = document.createElement("script");
					hm.src = "//hm.baidu.com/hm.js?8e2a116daf0104a78d601f40a45c75b4";
					var s = document.getElementsByTagName("script")[0];
					s.parentNode.insertBefore(hm, s);
				})();
			</script>
		</div>
		<script src="./AngularJS 教程 _ 菜鸟教程_files/main.js.下载"></script>

		<script aria-hidden="true" type="application/x-lastpass" id="hiddenlpsubmitdiv" style="display: none;"></script>
		<script>
			try {
				(function() {
					for(var lastpass_iter = 0; lastpass_iter < document.forms.length; lastpass_iter++) {
						var lastpass_f = document.forms[lastpass_iter];
						if(typeof(lastpass_f.lpsubmitorig2) == "undefined") {
							lastpass_f.lpsubmitorig2 = lastpass_f.submit;
							if(typeof(lastpass_f.lpsubmitorig2) == 'object') {
								continue;
							}
							lastpass_f.submit = function() {
								var form = this;
								var customEvent = document.createEvent("Event");
								customEvent.initEvent("lpCustomEvent", true, true);
								var d = document.getElementById("hiddenlpsubmitdiv");
								if(d) {
									for(var i = 0; i < document.forms.length; i++) {
										if(document.forms[i] == form) {
											if(typeof(d.innerText) != 'undefined') {
												d.innerText = i.toString();
											} else {
												d.textContent = i.toString();
											}
										}
									}
									d.dispatchEvent(customEvent);
								}
								form.lpsubmitorig2();
							}
						}
					}
				})()
			} catch(e) {}
		</script>
	</body>

</html>